Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickTime Components /
Chapter 5 - Sequence Grabber Components / Sequence Grabber Components Reference
Sequence Grabber Component Functions / Working With Video Channels


SGGetVideoRect

The SGGetVideoRect function allows you to determine the portion of the source video image that is to be captured. Use the SGSetVideoRect function, which is described in the previous section, to set the dimensions of this rectangle.

pascal ComponentResult SGGetVideoRect (SGChannel c, Rect *r);
c
Specifies the reference that identifies the channel for this operation. You obtain this reference from the SGNewChannel function, described on page 5-29.
r
Contains a pointer to a rectangle structure that is to receive the dimensions of the rectangle that defines the portion of the source video image to be captured.
DESCRIPTION
If you have not set a source rectangle, the sequence grabber captures the entire source video image, as defined by the source video boundary rectangle.

SEE ALSO
You can obtain the dimensions of the source video boundary rectangle by calling the SGGetSrcVideoBounds function, described on page 5-74.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help